<form id="singup" action="<?php echo Yii::app()->request->baseUrl; ?>/index.php/gui-dang-ky" method="post">


                        <div class="form_left">
                            Họ và tên:
                        </div>
                        <div class="form_right">
                            <input class="easyui-validatebox" type="text" name="txtname" data-options="required:true"  style="width: 300px"></input>

                        </div>
                        <div class="clear"></div>
                        <div class="form_left">
                            Email:
                        </div>
                        <div class="form_right">
                            <input class="easyui-validatebox" type="text" name="txtemail" data-options="required:true,validType:'email'" style="width: 300px"></input>

                        </div>
                        <div class="clear"></div>
                        <div class="form_left">
                            Mật khẩu:
                        </div>
                        <div class="form_right">
                            <input id="pwd" name="pwd" type="password" class="easyui-validatebox" data-options="required:true">
                        </div>
                        <div class="clear"></div>
                        <div class="form_left">
                            Nhập lại mật khẩu:
                        </div>
                        <div class="form_right">
                            <input id="rpwd" name="rpwd" type="password" class="easyui-validatebox" required="required" validType="equals['#pwd']">
                        </div>
                        <div class="clear"></div>
                        <div class="form_left">
                            Điện thoại:
                        </div>
                        <div class="form_right">
                            <input class="easyui-validatebox" type="text" name="txtphone" data-options="required:true" ></input>

                        </div>

                        <div class="form_left">
                            Địa chỉ:
                        </div>

                        <div class="form_right">
                            <input class="easyui-validatebox" type="text" name="txtadress" data-options="required:true" style="width: 300px"></input>

                        </div>

                        <div class="clear"></div>

                    </form>
                    <div class="form_left">
                        .
                    </div>
                    <div class="form_right">
                        <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitForm()">Đăng ký</a>
                    </div>

                    <script>
                        function submitForm() {
                            $('#singup').form('submit');
                        }
                        function clearForm() {
                            $('#singup').form('clear');
                        }
                    </script>

                        